css-overview: Don’t document deleted pseudoclasses
authorDaniel Boles <dboles@src.gnome.org>
Thu, 22 Jun 2017 22:56:44 +0000 (23:56 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Thu, 22 Jun 2017 22:56:44 +0000 (23:56 +0100)
Commit b52966a318a26589b26598be9cda1628c04db3ff stopped the parser from
handling various deprecated pseudoclasses, which were aliases of others,
but it did not update the documentation to reflect that they were gone.

docs/reference/gtk/css-overview.xml

index cf5b277433696c3fcdf81e4660f382fa04b4b937..3d8c8a1814fd2a80b4b3e22ed2d2197ad0136cd6 100644 (file)
@@ -329,7 +329,7 @@ label:focus {
     </example>
 
     <example>
-      <title>Theme inconsistent checkbuttons</title>
+      <title>Theme indeterminate checkbuttons</title>
       <programlisting><![CDATA[
 checkbutton:indeterminate {
   background-color: #20395a;
@@ -421,13 +421,13 @@ checkbutton:indeterminate {
             <entry>E:active, E:hover, E:focus</entry>
             <entry>any E node which is part of a widget with the corresponding state</entry>
             <entry><ulink url="https://www.w3.org/TR/css3-selectors/#useraction-pseudos">CSS</ulink></entry>
-            <entry>Corresponds to GTK_STATE_FLAG_ACTIVE, GTK_STATE_FLAG_PRELIGHT and GTK_STATE_FLAGS_FOCUSED; GTK+ also allows E:prelight and E:focused</entry>
+            <entry>Correspond to GTK_STATE_FLAG_ACTIVE, GTK_STATE_FLAG_PRELIGHT and GTK_STATE_FLAGS_FOCUSED respectively</entry>
           </row>
           <row>
             <entry>E:disabled</entry>
             <entry>any E node which is part of a widget which is disabled</entry>
             <entry><ulink url="https://www.w3.org/TR/css3-selectors/#UIstates">CSS</ulink></entry>
-            <entry>Corresponds to GTK_STATE_FLAG_INSENSITIVE; GTK+ also allows E:insensitive</entry>
+            <entry>Corresponds to GTK_STATE_FLAG_INSENSITIVE</entry>
           </row>
           <row>
             <entry>E:checked</entry>
@@ -437,10 +437,10 @@ checkbutton:indeterminate {
           </row>
           <row>
             <entry>E:indeterminate</entry>
-            <entry>any E node which is part of a widget (e.g. radio- or checkbuttons) which is in an inconsistent state</entry>
+            <entry>any E node which is part of a widget (e.g. radio- or checkbuttons) which is in an indeterminate state</entry>
             <entry><ulink url="https://www.w3.org/TR/css3-selectors/#indeterminate">CSS3</ulink>,
                    <ulink url="https://drafts.csswg.org/selectors/#indeterminate">CSS4</ulink></entry>
-            <entry>Corresponds to GTK_STATE_FLAG_INCONSISTENT; GTK+ also allows E:inconsistent</entry>
+            <entry>Corresponds to GTK_STATE_FLAG_INCONSISTENT</entry>
           </row>
           <row>
             <entry>E:backdrop, E:selected</entry>